home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Revolution - Das Atari CD Magazin 1997
/
Revolution - Das Atari CD Magazin 1.iso
/
software
/
anwendng
/
qed_397
/
sourcen
/
set.h
< prev
next >
Wrap
C/C++ Source or Header
|
1997-01-01
|
1KB
|
28 lines
#ifndef _qed_set_h_
#define _qed_set_h_
#define SETSIZE 32 /* Größe eines Sets in Longs */
#define SETMAX (SETSIZE*32 - 1) /* Maximale Elemente eines Sets */
typedef ULONG SET[SETSIZE]; /* Menge */
EXTERN WORD setfree (SET set); /* kleinste freie Nummer */
EXTERN WORD setmax (SET set); /* größte belegte Nummer */
EXTERN WORD setmin (SET set); /* kleinste belegte Nummer */
EXTERN VOID setcpy (SET set1, CONST SET set2);
EXTERN VOID setall (SET set);
EXTERN VOID setclr (SET set);
EXTERN VOID setnot (SET set);
EXTERN VOID setand (SET set1, SET set2);
EXTERN VOID setor (SET set1, SET set2);
EXTERN VOID setxor (SET set1, SET set2);
EXTERN VOID setincl (SET set, WORD elt);
EXTERN VOID setexcl (SET set, WORD elt);
EXTERN VOID setchg (SET set, WORD elt);
EXTERN BOOLEAN setin (SET set, WORD elt);
EXTERN BOOLEAN setcmp (SET set1, SET set2);
EXTERN WORD setcard (SET set);
EXTERN VOID str2set (CONST UBYTE *str, SET set);
#endif